package com.luyuan.crm.member.service;

import java.util.List;

import org.hibernate.criterion.Criterion;

import com.luyuan.crm.member.model.Customer;
import com.ruijie.foundation.annotation.DomainService;

@DomainService
public interface CustomerService {
    Customer getByMobile(String mobile);

    Customer getById(String id);

    void addCustomer(Customer customer);

    void updateCustomer(Customer customer);

    List<Customer> findBy(Criterion criterion, int size);
}
